﻿<%@ Page Language="C#" MasterPageFile="~/MasterPageMain.master" AutoEventWireup="true" CodeFile="ImportUsers.aspx.cs" Inherits="consultant_ImportUsers" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ctrlMainContent" Runat="Server">
    <tek:RadAjaxManagerProxy runat="server" ID="uxRadAjaxManager">
        <AjaxSettings>
            <tek:AjaxSetting AjaxControlID="grdUserList">
                <UpdatedControls>
                    <tek:AjaxUpdatedControl ControlID="grdUserList" />
                </UpdatedControls>
            </tek:AjaxSetting>
            <tek:AjaxSetting AjaxControlID="uxCompanyList">
                <UpdatedControls>
                    <tek:AjaxUpdatedControl ControlID="grdUserList" />
                </UpdatedControls>
            </tek:AjaxSetting>
        </AjaxSettings>
    </tek:RadAjaxManagerProxy>
    
    <div style="padding-left:100px">
        <table>
        <tr>
            <td align="right">
                Tên Công Ty
            </td>
            <td>
                <tln:TLNCombobox ID="uxCompanyList" runat="server" Width="300px" AutoPostBack="true"></tln:TLNCombobox>
            </td>
        </tr>
         <tr>
            <td align="right">
                Tập tin danh sách nhân viên(.csv)
            </td>
            <td>
                <asp:FileUpload ID="fileUserList" runat="server" Width="300px" size="55"/>
            </td>
        </tr>
        <tr>
            <td>
                
            </td>
            <td>
                <asp:Button ID="btnImportUserList" runat="server" Text="Import" OnClick="ImportUserList" />&nbsp;&nbsp;
                <asp:Button ID="btnBack" runat="server" Text="Quay lại" OnClientClick=""/>
            </td>
        </tr>
        <tr>
            <td colspan="2"><asp:Label ID="lblResult" runat="server"></asp:Label></td>
        </tr>
    </table>
    </div>
    
    
    <div>
        <tln:TLNGrid ID="grdUserList" runat="server" GridLines="None" Width="100%"
            AllowPaging="True" PagerStyle-AlwaysVisible="true" AllowSorting="True" AutoGenerateColumns="true" OnNeedDataSource="grdUserList_NeedDataSource">
        </tln:TLNGrid>
    </div>
</asp:Content>

